﻿
using System;
namespace Microsoft.Data.Edm
{
    /// <summary>
    /// Represents a reference to an EDM binary type.
    /// </summary>
    public interface IEdmBinaryTypeReference : IEdmPrimitiveTypeReference, IEdmTypeReference, IEdmElement
    {
        /// <summary>
        /// Gets a value indicating whether this type specifies fixed length.
        /// </summary>
        bool? IsFixedLength
        {
            get;
        }
        /// <summary>
        /// Gets a value indicating whether this type specifies the maximum allowed length.
        /// </summary>
        bool IsUnbounded
        {
            get;
        }
        /// <summary>
        /// Gets the maximum length of this type.
        /// </summary>
        int? MaxLength
        {
            get;
        }
    }
}
